DBA

open class DBA : BaseProduct, Product

Created by alan.wang on 3/8/18.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Used to specify AB testing groups within DBA

Properties

Link copied to clipboard
open var config: IConfiguration

Functions

Link copied to clipboard
open fun addProducts()
Link copied to clipboard
open fun checkIfProductExists(product: Product.Products): Boolean
Link copied to clipboard
open fun completeProductInitialization(application: Application, oldConfig: IConfiguration, newConfig: IConfiguration)
Link copied to clipboard
open fun disable()
Link copied to clipboard
open fun enable()
Link copied to clipboard
open fun getIsStarted(): Boolean
Link copied to clipboard
DBA: gets the list of masked views (actually, WeakReferences to the view).
Link copied to clipboard
open fun getTestGroup(key: String): String
Retrieve the value previously set using setTestGroup
Link copied to clipboard
open fun initStubInstance()
Link copied to clipboard
Link copied to clipboard
open fun isPaused(): Boolean
Check if DBA is paused
Link copied to clipboard
open fun isRecording(): Boolean
Check if DBA is recording
Link copied to clipboard
open fun logDBAPageChange(name: String)
Programmatically log a DBA page change event.
Link copied to clipboard
open fun logFeatures(application: Application, configuration: IConfiguration)
Link copied to clipboard
open fun maskView(view: View)
DBA: adds a specific View persistenceSerializer to the list of views that are to be masked during capture.
Link copied to clipboard
open fun onRequestPermissionsResult(requestCode: Int, @NotNull permissions: Array<String>, @NotNull grantResults: Array<Int>)
Accepts the result of the request to show notifications.
Link copied to clipboard
open fun pauseRecording()
DBA: pauses recording indefinitely
open fun pauseRecording(pauseRecordingForMilliseconds: Long)
DBA: pauses recording until indefinitely
Link copied to clipboard
open fun prepareProduct(application: Application, configuration: IConfiguration): Boolean
Link copied to clipboard
Registers activity within a custom scroller to prevent captures interfering with scroll animations.
Link copied to clipboard
* Requests that the SDK begin recording the screen This function will cause a permissions dialog to be displayed, asking the user for permission to record the screen.
Link copied to clipboard
open fun resetCaptureRate()
Resets the DBA capture rate the the default.
Link copied to clipboard
Link copied to clipboard
Allows implementers to reset recording permission to default value of NotSet.
Link copied to clipboard
open fun resumeRecording()
DBA: resumes recording
Link copied to clipboard
open fun setCaptureRate(captureRate: Int)
Sets the DBA capture rate.
Link copied to clipboard
open fun setMaskingDebugEnabled(maskingDebugEnabled: Boolean)
Allows implementers to debug the masking within the app by adding a colored overlay indicating masked areas
Link copied to clipboard
open fun setRecordingPermission(enabled: Boolean)
Allows implementers to enable recording by calling API directly or by their own implemented custom prompt
Allows implementers to enable recording by calling API directly or by their own implemented custom prompt with some extra options including the ability to enable recording for one session only
Link copied to clipboard
open fun setTestGroup(key: String, groupName: String)
Define a group name for AB testing The SDK will log the relative success of each group
Link copied to clipboard
open fun stopProduct()
Link copied to clipboard
open fun stopRecording()
Stops the SDK recording the screen
Link copied to clipboard
open fun unmaskView(view: View)
DBA: removes a View persistenceSerializer from the list of views that are to be masked during capture.
Link copied to clipboard
open fun validateConfig(json: String): Boolean